package com.bps.zzant.model;

import static javax.persistence.GenerationType.IDENTITY;

import java.io.Serializable;
import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "zzant_product")


public class Product implements Serializable {
		
		@Column(name = "brand")
		private String brand;
		
		@Column(name = "category")
		private String category;
		
		@Column(name = "color")
		private String color;

		@Column(name = "description")
		private String description;
		
		@Column(name = "page_num")
		private int pageNum;
		
		@Id
		@GeneratedValue(strategy = IDENTITY)
		@Column(name = "prod_id", unique = true, nullable = false)
		private int prodId;
		
		@Column(name = "size")
		private String size;
		
		@Column(name = "styleNo")
		private String styleNo;
		
		@Column(name = "cost")
		private BigDecimal Cost;

		public BigDecimal getCost() {
			return Cost;
		}

		public void setCost(BigDecimal cost) {
			Cost = cost;
		}

		public String getBrand() {
			return brand;
		}

		public void setBrand(String brand) {
			this.brand = brand;
		}

		public String getCategory() {
			return category;
		}

		public void setCategory(String category) {
			this.category = category;
		}

		public String getColor() {
			return color;
		}

		public void setColor(String color) {
			this.color = color;
		}


		public String getDescription() {
			return description;
		}

		public void setDescription(String description) {
			this.description = description;
		}

		public int getPageNum() {
			return pageNum;
		}

		public void setPageNum(int pageNum) {
			this.pageNum = pageNum;
		}

		public int getProdId() {
			return prodId;
		}

		public void setProdId(int prodId) {
			this.prodId = prodId;
		}

		public String getSize() {
			return size;
		}

		public void setSize(String size) {
			this.size = size;
		}

		public String getStyleNo() {
			return styleNo;
		}

		public void setStyleNo(String styleNo) {
			this.styleNo = styleNo;
		}

		
		
}
